-
Home
-
Defender Security – Malware Scanner, Login Security & Firewall
-
4.12.0 (latest)
-
Code
-
Classes
- User_Agent
Total Complexity |
35 |
Dependencies |
4 |
Dependents |
7 |
Total lines |
258 |
Lines of code |
124 |
Logical lines of code |
81 |
Comment lines |
73 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
log_event() |
S |
50 |
6 |
29 |
verify_import_file() |
S |
51 |
6 |
27 |
is_bad_user_agent() |
S |
57 |
5 |
15 |
get_status_text() |
S |
60 |
4 |
14 |
is_bad_post() |
S |
67 |
4 |
7 |
is_active_component() |
S |
79 |
2 |
3 |
get_message() |
S |
73 |
2 |
5 |
sanitize_user_agent() |
S |
64 |
2 |
10 |
__construct() |
S |
76 |
1 |
4 |
add_hooks() |
S |
91 |
1 |
2 |
block_user_agent_or_ip() |
S |
72 |
1 |
5 |
fast_cleaning() |
S |
79 |
1 |
3 |